﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DevExpress.Xpo;

namespace WROA.Models.Entitys
{
    public class CarApprove : XPObject
    {
        private ApplyCar applycar;
        [Association("CarApproveApplyCar")]
        public ApplyCar Applycar
        {
            get { return applycar; }
            set { applycar = value; }
        }


        private Users user;
        [Association("CarApproveUser")]
        public Users User
        {
            get { return user; }
            set { user = value; }
        }

        
        private string ca_content;
        [DbType("ntext")]
        public string Ca_content
        {
            get { return ca_content; }
            set { ca_content = value; }
        }

        
        private DateTime ca_date;
        [DbType("datetime")]
        public DateTime Ca_date
        {
            get { return ca_date; }
            set { ca_date = value; }
        }

        
        private string ca_result;
        [DbType("nvarchar(50)")]
        public string Ca_result
        {
            get { return ca_result; }
            set { ca_result = value; }
        }
    }
}